/**
 * output package name
 */
package com.kingdee.eas.custom.cifisms;

import java.util.Map;
import java.util.List;
import java.util.Iterator;
import com.kingdee.util.enums.StringEnum;

/**
 * output class name
 */
public class AccountTypeEnum extends StringEnum
{
    public static final String SELL_VALUE = "1";
    public static final String CUST_VALUE = "2";
    public static final String SUPPLIER_VALUE = "3";
    public static final String INTER_VALUE = "4";

    public static final AccountTypeEnum sell = new AccountTypeEnum("sell", SELL_VALUE);
    public static final AccountTypeEnum cust = new AccountTypeEnum("cust", CUST_VALUE);
    public static final AccountTypeEnum supplier = new AccountTypeEnum("supplier", SUPPLIER_VALUE);
    public static final AccountTypeEnum inter = new AccountTypeEnum("inter", INTER_VALUE);

    /**
     * construct function
     * @param String accountTypeEnum
     */
    private AccountTypeEnum(String name, String accountTypeEnum)
    {
        super(name, accountTypeEnum);
    }
    
    /**
     * getEnum function
     * @param String arguments
     */
    public static AccountTypeEnum getEnum(String accountTypeEnum)
    {
        return (AccountTypeEnum)getEnum(AccountTypeEnum.class, accountTypeEnum);
    }

    /**
     * getEnumMap function
     */
    public static Map getEnumMap()
    {
        return getEnumMap(AccountTypeEnum.class);
    }

    /**
     * getEnumList function
     */
    public static List getEnumList()
    {
         return getEnumList(AccountTypeEnum.class);
    }
    
    /**
     * getIterator function
     */
    public static Iterator iterator()
    {
         return iterator(AccountTypeEnum.class);
    }
}